package com.aiit.carinsurance2.service;

import com.aiit.carinsurance2.pojo.*;

import java.util.List;

public interface ToubaodanService {
    List<Insured> querybuid(Integer uid);

    List<Car> querycarid(Integer uid);

    List<Userinsurancepay> queryallpay(Integer uid);

    int inserts(Toubaodan toubaodan);

    List<Toubaodan> query(String states);

    List<Toubaodaninfo> queryinfo(String states);

    Toubaodan querybyid(String id);

    int update(Toubaodan toubaodan);

    Toubaodaninfo querytoubaodaninfo(int id);

    int updateinfo(String states, String bec, int id);

    Toubaodaninfo queryinfobyuid(Integer uid);

    Toubaodan querybyuid(Integer uid);
}
